﻿namespace ZR.ServiceCore.Model;

[SugarTable("sys_login_limit")]
[Tenant("0")]
public class SysLoginLimit
{
    [SugarColumn(IsPrimaryKey = true)]
    [JsonConverter(typeof(ValueToStringConverter))]
    public long Id { get; set; }
    
    public string UserName { get; set; }
    
    public int? ErrorCount { get; set; }
    
    public DateTime? ErrorTime { get; set; }
    
    public string Ip { get; set; }
    
    public char Flag { get; set; }
}